#ifndef REMOVABLEMEDIA_H
#define REMOVABLEMEDIA_H

#include <phonon>
#include <QWidget>
#include "keycontrollablemenu.h"
#include "removablemediascanner.h"

namespace Ui {
    class RemovableMedia;
}

class RemovableMedia : public KeyControllableMenu {
    Q_OBJECT
    static RemovableMediaScanner * scanner;
public:
    RemovableMedia(QWidget *parent = 0);
    ~RemovableMedia();

protected:
    void changeEvent(QEvent *e);

public slots:
    void addDrive(QString drive);
    void removeDrive(QString drive);
    void buttonSelected();

private:
    Ui::RemovableMedia *ui;
    Phonon::MediaObject * mediaObject;
    Phonon::VideoWidget * widget;
};

#endif // REMOVABLEMEDIA_H
